package com.zero.jewelry.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zero.common.annotation.excel.Excel;
import com.zero.common.core.domain.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;



/**
 * 标签管理对象 tag
 *
 * @author cai-xu-kun
 * @date 2025-07-31
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Tag extends BaseEntity {
    /** 标签ID */
    @Excel(name = "标签ID")
    private Long id;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String name;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
